package com.xiaoshuidi.cloud.module.report.dal.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.xiaoshuidi.cloud.framework.mybatis.core.mapper.BaseMapperX;
import com.xiaoshuidi.cloud.module.report.dal.DO.ContractSettlementDetailDO;
import com.xiaoshuidi.cloud.module.report.service.ajreport.dto.ContractSellementVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@InterceptorIgnore(tenantLine = "true")
public interface ContractSettlementDetailMapper extends BaseMapperX<ContractSettlementDetailDO> {

    List<ContractSettlementDetailDO> selectByOrderIds(@Param("settleIds") List<Long> settleIds);

    List<ContractSellementVo> selectDepositByContractIds(@Param("contractIds") List<Long> contractIds);
}
